package com.comm.db.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * TPrivilege entity. @author MyEclipse Persistence Tools
 */

public class TPrivilege implements java.io.Serializable {

	// Fields

	private Integer id;
	private String privName;
	private String tagName;
	private String tagAttrname;
	private String tagAttrvalue;
	private String actionUrl;
	private String description;
	private Integer status;
	private String codeNo;
	private Integer isLeaf;
	private Integer parentId;
	private Set TRoleXPrivs = new HashSet(0);
	private Set TLoginXPrivs = new HashSet(0);
	private Set TPrivXOrgs = new HashSet(0);

	// Constructors

	/** default constructor */
	public TPrivilege() {
	}

	/** full constructor */
	public TPrivilege(String privName, String tagName, String tagAttrname,
			String tagAttrvalue, String actionUrl, String description,
			Integer status, String codeNo, Integer isLeaf, Integer parentId,
			Set TRoleXPrivs, Set TLoginXPrivs, Set TPrivXOrgs) {
		this.privName = privName;
		this.tagName = tagName;
		this.tagAttrname = tagAttrname;
		this.tagAttrvalue = tagAttrvalue;
		this.actionUrl = actionUrl;
		this.description = description;
		this.status = status;
		this.codeNo = codeNo;
		this.isLeaf = isLeaf;
		this.parentId = parentId;
		this.TRoleXPrivs = TRoleXPrivs;
		this.TLoginXPrivs = TLoginXPrivs;
		this.TPrivXOrgs = TPrivXOrgs;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPrivName() {
		return this.privName;
	}

	public void setPrivName(String privName) {
		this.privName = privName;
	}

	public String getTagName() {
		return this.tagName;
	}

	public void setTagName(String tagName) {
		this.tagName = tagName;
	}

	public String getTagAttrname() {
		return this.tagAttrname;
	}

	public void setTagAttrname(String tagAttrname) {
		this.tagAttrname = tagAttrname;
	}

	public String getTagAttrvalue() {
		return this.tagAttrvalue;
	}

	public void setTagAttrvalue(String tagAttrvalue) {
		this.tagAttrvalue = tagAttrvalue;
	}

	public String getActionUrl() {
		return this.actionUrl;
	}

	public void setActionUrl(String actionUrl) {
		this.actionUrl = actionUrl;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCodeNo() {
		return this.codeNo;
	}

	public void setCodeNo(String codeNo) {
		this.codeNo = codeNo;
	}

	public Integer getIsLeaf() {
		return this.isLeaf;
	}

	public void setIsLeaf(Integer isLeaf) {
		this.isLeaf = isLeaf;
	}

	public Integer getParentId() {
		return this.parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public Set getTRoleXPrivs() {
		return this.TRoleXPrivs;
	}

	public void setTRoleXPrivs(Set TRoleXPrivs) {
		this.TRoleXPrivs = TRoleXPrivs;
	}

	public Set getTLoginXPrivs() {
		return this.TLoginXPrivs;
	}

	public void setTLoginXPrivs(Set TLoginXPrivs) {
		this.TLoginXPrivs = TLoginXPrivs;
	}

	public Set getTPrivXOrgs() {
		return this.TPrivXOrgs;
	}

	public void setTPrivXOrgs(Set TPrivXOrgs) {
		this.TPrivXOrgs = TPrivXOrgs;
	}

}